package com.qdu.mapper;

import com.qdu.entity.Examineinfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface ExamineinfoMapper {

    List<Examineinfo> getAll();

    int update(Examineinfo record);

    int insert(Examineinfo record);

    int insertSelective(Examineinfo record);

    // 分页查询
    List<Examineinfo> getExamineByPage(@Param("start") Integer start, @Param("rows") Integer rows);

    // 查询总条数
    Long findTotals();

    Examineinfo selectByHid(String hid);

    Examineinfo selectByUidAndHid(String uid, String hid);
}